{template header}
<div class="midder">

<div class="mc">
<h1>{$strGroup[talkname]}</h1>
<div class="cleft">
<div class="infobox">

<div class="bd">
<img align="left" alt="{$strGroup[talkname]}" src="{$strGroup[icon_48]}" class="pil mr5 talkicon" valign="top" />
<div>{$TS_HL[app][1170]}{php echo date('Y-m-d',$strGroup[addtime])}&nbsp; &nbsp; {$strGroup[role_leader]}：<a href="{SITE_URL}{tsurl('user','space',array(userid=>$strLeader[userid]))}">{$strLeader[username]}</a><br></div>
{$strGroup[talkdesc]}
<div class="clearfix" style="margin-top: 10px;">

<!--{if $isGroupUser > 0 && $TS_USER[user][userid] != $strGroup[userid]}-->
<span class="fleft mr5 color-gray">{$TS_HL[app][1171]}{$strGroup[role_user]} <a title="{$TS_HL[app][1172]}" class="j a_confirm_link" href="javascript:void(0);" onclick="exitGroup('{$strGroup[talkid]}');" style="margin-left: 6px;">&gt;{$TS_HL[app][1172]}</a></span>
<!--{elseif $isGroupUser > 0 && $TS_USER[user][userid] == $strGroup[userid]}-->
<span class="fleft mr5 color-gray">{$TS_HL[app][1171]}{$strGroup[role_leader]}</span>
<!--{elseif $strGroup[joinway] == '0'}-->
<span class="fright"><a class="submit" href="javascript:void(0);" onclick="joinGroup('{$strGroup[talkid]}');">{$TS_HL[app][1173]}</a></span>

<!--{else}-->
<span class="fright">本秀店禁止加入</span>
<!--{/if}-->


</div>
</div>

</div>

<div class="box">

<div class="box_content">

<h2 style="margin-top: 10px;" class="fabu">
<a class="submit" href="javascript:void(0)" onclick="newTopic({$strGroup[talkid]});">{$TS_HL[app][1174]}</a></h2>

<!--宝贝分类-->
<div class="topictype">
<ul>
<li <!--{if $typeid=="0"}-->class="on"<!--{/if}-->><a href="{SITE_URL}{tsurl('talk','talk',array(talkid=>$strGroup[talkid]))}"><span>{$TS_HL[app][1026]}</span></a></li>
<!--{loop $arrTopicType $key $item}-->
<li <!--{if $typeid==$item[typeid]}-->class="on"<!--{/if}-->><a href="{SITE_URL}{tsurl('talk','talk',array(talkid=>$strGroup[talkid],typeid=>$item[typeid]))}"><span>{$item[typename]}</span></a></li>
<!--{/loop}-->
</ul>
</div>
<div class="clear"></div>


<div class="topic_list">
<ul>
<!--{if $arrTopic}-->
<!--{loop $arrTopic $key $item}-->
<li>
<div class="userimg"><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[user][userid]))}"><img src="{$item[user][face_32]}" width="32" /></a></div>

<div class="topic_title">
<div class="title">
<!--{if $item[typeid] != 0}--><a href="{SITE_URL}{tsurl('talk','talk',array(talkid=>$item[talkid],typeid=>$item[typeid]))}">[{$item[typename]}]</a><!--{/if}-->

<a title="{$item[title]}" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}">{$item[title]}</a>
<!--{if $item[istop]=='1'}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/headtopic_1.gif" title="[置顶]" alt="[置顶]" /> 
<!--{/if}-->
<!--{if $item[addtime]>strtotime(date('Y-m-d 00:00:00'))}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/topic_new.gif" align="absmiddle"  title="[分享]" alt="[分享]" />
<!--{/if}--> 

<!--{if $item[isphoto]=='1'}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/image_s.gif" title="[图片]" alt="[图片]" align="absmiddle" />
<!--{/if}--> 

<!--{if $item[isattach] == '1'}--><img src="{SITE_URL}app/{$app}/skins/{$skin}/attach.gif" title="[附件]" alt="[附件]" />
<!--{/if}-->

<!--{if $item[isposts] == '1'}-->
<img src="{SITE_URL}public/image/posts.gif" title="[精华]" alt="[精华]" />
<!--{/if}-->

</div>
<div class="topic_info">
<span style="float:left;">
<a href="{SITE_URL}{tsurl('talk','talk',array(talkid=>$item[talkid]))}">{$item[talk][talkname]}</a>
</span>

<span style="float:right;">
{php echo getTime($item[uptime],time())}

<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}">{$item[user][username]}</a>

<!--{if $item[count_comment]>0}--><a class="rank" style="color:#FFFFFF;" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}">{$item[count_comment]}</a><!--{/if}-->
</span>
</div>
</div>
<div class="clear"></div>
</li>	
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>

<div class="page">{$pageUrl}</div>

</div>
</div>

</div>


<div class="cright">
<div>
<h2>{$TS_HL[app][1175]}</h2>

<!--{loop $arrGroupUser $key $item}-->
<dl class="obu">
<dt><a class="nbg" ><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}"><img alt="{$item[username]}" class="m_sub_img" src="{$item[face]}" /></a></dt>
<dd>{$item[username]}<br><span class="pl">(<a href="{SITE_URL}{tsurl('location','area',array(areaid=>$item[area][areaid]))}">{$item[area][areaname]}</a>)</span></dd></dl>
<!--{/loop}-->
<br clear="all">

<!--{if $TS_USER[user][userid] == $strGroup[userid]}-->
<p class="pl2">&gt; <a href="{SITE_URL}{tsurl('talk','talk_user',array(talkid=>$strGroup[talkid]))}">{$TS_HL[app][1176]} ({$strGroup[count_user]})</a></p>

<p class="pl2">&gt; <a href="{SITE_URL}{tsurl('talk','edit_talk',array(talkid=>$strGroup[talkid],ts=>base))}">{$TS_HL[app][1177]} </a></p>
<p class="pl2">&gt; <a href="{SITE_URL}{tsurl('talk','talk_recovery',array(talkid=>$strGroup[talkid]))}">{$TS_HL[app][1178]} ({$strGroup[recoverynum]})</a></p>

<!--{else}-->
<p class="pl2"><a href="{SITE_URL}{tsurl('talk','talk_user',array(talkid=>$strGroup[talkid]))}">{$TS_HL[app][1179]}  ({$strGroup[count_user]})</a></p>
<!--{/if}-->
<div class="clear"></div>
</div>

<p class="pl"><span class="feed"><a href="{SITE_URL}{tsurl('talk','rss',array(talkid=>$strGroup[talkid]))}">feed: rss 2.0</a></span></p>

</div>
</div>
</div>

{template footer}